github.com/gotd/td/internal/mtproto.Conn.clock (field)

11 uses

	github.com/gotd/td/internal/mtproto (current package)
		ack.go#L27: 	ticker := c.clock.Ticker(c.ackInterval)
		conn.go#L63: 	clock        clock.Clock
		conn.go#L125: 		clock:        opt.Clock,
		connect.go#L33: 		start := c.clock.Now()
		connect.go#L39: 			zap.Duration("duration", c.clock.Now().Sub(start)),
		connect.go#L77: 		WithClock(c.clock).
		handle_session_created.go#L20: 	now := c.clock.Now()
		ping.go#L101: 	ticker := c.clock.Ticker(c.pingInterval)
		read.go#L63: 	if err := checkMessageID(c.clock.Now(), msg.MessageID); err != nil {
		salt.go#L26: 	salt, ok := c.salts.Get(c.clock.Now().Add(time.Minute * 5))
		salt.go#L62: 	ticker := c.clock.Ticker(c.saltFetchInterval)